﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuantitativeInvestment.Bean
{
    class Stock
    {
        public string name;
        public string code;
        public string  startDate;
        public string endDate;
        public Dictionary<string, double[]> factors;
        public List<string> tradingDateList;
        public Stock(string code,string name)
        {

            this.code = code;
            this.name = name;
            this.factors = new Dictionary<string, double[]>();
            this.startDate = "19000000";
            this.endDate = "19000000";
     
        }
        public void addFactor(string factorName, double[] value)
        {
            this.factors.Add(factorName, value);
        }

    }
}
